Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silence improper_ctypes warning #251

Merged
merged 1 commit into from
Nov 7, 2019
Merged

silence improper_ctypes warning #251

merged 1 commit into from
Nov 7, 2019

Conversation

ghedo
Copy link
Member

@ghedo ghedo commented Nov 7, 2019

This is actually a false positive, as the structs are only exposed to
FFI as pointers, so they are effectively opaque from the non-Rust
perspective

The warning showed up in nightly after the following PR was merged:
rust-lang/rust#65134

@ghedo ghedo requested a review from a team as a code owner November 7, 2019 16:56
@ghedo ghedo mentioned this pull request Nov 7, 2019
LPardue
LPardue previously approved these changes Nov 7, 2019
This is actually a false positive, as the structs are only exposed to
FFI as pointers, so they are effectively opaque from the non-Rust
perspective

The warning showed up in nightly after the following PR was merged:
rust-lang/rust#65134
@ghedo ghedo merged commit c217225 into master Nov 7, 2019
@ghedo ghedo deleted the no-improper-ctypes branch November 7, 2019 17:46
@CryZe
Copy link

CryZe commented Nov 8, 2019

I've opened an issue discussing this here: rust-lang/rust#66220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants